package com.ruoyi.management.pojo.energymeter;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 电表型号
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EnergyMeterVO {

    /**
     * 型号id
     */
    private Long modelId;

    /**
     * 型号名称
     */
    private String modelName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

}
